import http from "@/utils/request"

export default {
	index: {
		method: `serviceCard.serviceCard.index`,
		name: "服务卡列表",
		get: async function (data = {}) {
			return await http.post(this.method, data);
		}
	},
	store: {
		method: `serviceCard.serviceCard.store`,
		name: "保存服务卡",
		post: async function (data = {}) {
			return await http.post(this.method, data);
		}
	},
	deleteCard: {
		method: `serviceCard.serviceCard.delete`,
		name: "删除服务卡",
		post: async function (data = {}) {
			return await http.post(this.method, data);
		}
	},
	cardSelect: {
		method: `serviceCard.serviceCard.getSelect`,
		name: "服务卡选择列表",
		get: async function (data = {}) {
			return await http.post(this.method, data);
		}
	},
}
